package com.ocom.srvpaccess.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.access.EntityMjAreaInfo;

import java.util.List;

public interface AreaInfoService extends IService<EntityMjAreaInfo> {

    //2、根据areaNo从门禁区域表mj_area_info查出areaName、regionID；
        public EntityMjAreaInfo getAreaInfo(Long companyId, Long areaId);

    List<EntityMjAreaInfo> selectListAreaId(Long comId,Integer regionId);

    int selectRegionId(Long comId, int areaId);
}
